/**
 * 
 */
package org.istt.service.impl;

import org.istt.dao.CategoryTypeDao;
import org.istt.domain.CategoryType;
import org.istt.service.CategoryTypeManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Huy
 *
 */
@Service("categoryTypeManager")
public class CategoryTypeManagerImpl extends ManagerImpl<CategoryType, Long> implements CategoryTypeManager {
	
	/**
	 * @param WorkflowDao the WorkflowDao to set
	 */
	@Autowired
	public void setCategoryTypeDao(CategoryTypeDao dao) {
		this.dao = dao;
	}

	@Override
	public int countAttachfileByCateType(Long cateTypeId) {
		// TODO Auto-generated method stub
		return ((CategoryTypeDao)dao).countAttachfileByCateType(cateTypeId);
	}
	

}
